package com.wskh.edu.mapper;

import com.wskh.edu.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wskh.edu.entity.TOrder;
import com.wskh.edu.entity.vo.front.CourseWebVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author wskh
 * @since 2021-10-14
 */
@Mapper
@Repository
public interface CourseMapper extends BaseMapper<Course> {

    CourseWebVo selectInfoWebById(String id);

    TOrder getTOrderByMemberIdAndCourseId(String memberId,String courseId);

}
